QT       += core gui sql xml network serialport widgets charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
#mingw64
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

UI_DIR = ./UI

MOC_DIR = tmp/moc

OBJECTS_DIR = tmp/obj

RCC_DIR = tmp/rcc

INCLUDEPATH += $$PWD/Src/MainWindow \
               $$PWD/Src/communication \
               $$PWD/Src/DataFormate \
               $$PWD/Src/DataBaseControl \
               $$PWD/Src/Evaluate \
               $$PWD/Src/GameControl \
               $$PWD/Src/Record \
               $$PWD/Src/Setting \
               $$PWD/Src/ShareModule \
               $$PWD/Src/Training \
               $$PWD/Src/UserManager \
               $$PWD/Src/LanguageControl \
               $$PWD/Src/ShareClass

TRANSLATIONS += SituationalInteractiveStand_EN.ts \
                SituationalInteractiveStand_CN.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    icon/icon.qrc

DISTFILES +=

HEADERS += \
    Src/Communication/ccommunicateapi.h \
    Src/Communication/ccommunicationinterface.h \
    Src/Communication/cserialportinterface.h \
    Src/Communication/ctcpsocketinterface.h \
    Src/Communication/cudpinterface.h \
    Src/Communication/globalqueue.h \
    Src/Communication/readconfig.h \
    Src/DataBaseControl/cdatabaseinterface.h \
    Src/DataBaseControl/sqlitedatabase.h \
    Src/DataFormate/dataFormate.h \
    Src/DataFormate/userDataFormate.h \
    Src/Evaluate/evaluate.h \
    Src/Evaluate/evaluationreport.h \
    Src/Evaluate/mylabel.h \
    Src/GameControl/gamecontrol.h \
    Src/LanguageControl/laguagecontroller.h \
    Src/MainWindow/calibration.h \
    Src/MainWindow/forgetpassword.h \
    Src/MainWindow/login.h \
    Src/MainWindow/mainwindow.h \
    Src/MainWindow/mainwindowpagecontrol.h \
    Src/Record/deletereport.h \
    Src/Record/record.h \
    Src/Record/reportcompared.h \
    Src/Setting/passwordsetting.h \
    Src/Setting/productpresentation.h \
    Src/Setting/set.h \
    Src/Setting/systemsetting.h \
    Src/ShareClass/customintvalidator.h \
    Src/ShareModule/waitingdialog.h \
    Src/Training/training.h \
    Src/Training/trainingreport.h \
    Src/UserManager/confirmuser.h \
    Src/UserManager/currentuserdata.h \
    Src/UserManager/deleteuser.h \
    Src/UserManager/newuser.h


SOURCES += \
    Src/Communication/ccommunicateapi.cpp \
    Src/Communication/ccommunicationinterface.cpp \
    Src/Communication/cserialportinterface.cpp \
    Src/Communication/ctcpsocketinterface.cpp \
    Src/Communication/cudpinterface.cpp \
    Src/Communication/globalqueue.cpp \
    Src/Communication/readconfig.cpp \
    Src/DataBaseControl/cdatabaseinterface.cpp \
    Src/DataBaseControl/sqlitedatabase.cpp \
    Src/DataFormate/dataformate.cpp \
    Src/DataFormate/userDataFormate.cpp \
    Src/Evaluate/evaluate.cpp \
    Src/Evaluate/evaluationreport.cpp \
    Src/Evaluate/mylabel.cpp \
    Src/GameControl/gamecontrol.cpp \
    Src/LanguageControl/laguagecontroller.cpp \
    Src/MainWindow/calibration.cpp \
    Src/MainWindow/forgetpassword.cpp \
    Src/MainWindow/login.cpp \
    Src/MainWindow/main.cpp \
    Src/MainWindow/mainwindow.cpp \
    Src/MainWindow/mainwindowpagecontrol.cpp \
    Src/Record/deletereport.cpp \
    Src/Record/record.cpp \
    Src/Record/reportcompared.cpp \
    Src/Setting/passwordsetting.cpp \
    Src/Setting/productpresentation.cpp \
    Src/Setting/set.cpp \
    Src/Setting/systemsetting.cpp \
    Src/ShareClass/customintvalidator.cpp \
    Src/ShareModule/waitingdialog.cpp \
    Src/Training/training.cpp \
    Src/Training/trainingreport.cpp \
    Src/UserManager/confirmuser.cpp \
    Src/UserManager/currentuserdata.cpp \
    Src/UserManager/deleteuser.cpp \
    Src/UserManager/newuser.cpp

FORMS += \
    Src/Evaluate/evaluate.ui \
    Src/Evaluate/evaluationreport.ui \
    Src/GameControl/gamecontrol.ui \
    Src/MainWindow/calibration.ui \
    Src/MainWindow/forgetpassword.ui \
    Src/MainWindow/login.ui \
    Src/MainWindow/mainwindow.ui \
    Src/Record/deletereport.ui \
    Src/Record/record.ui \
    Src/Record/reportcompared.ui \
    Src/Setting/passwordsetting.ui \
    Src/Setting/productpresentation.ui \
    Src/Setting/set.ui \
    Src/Setting/systemsetting.ui \
    Src/ShareModule/waitingdialog.ui \
    Src/Training/training.ui \
    Src/Training/trainingreport.ui \
    Src/UserManager/confirmuser.ui \
    Src/UserManager/deleteuser.ui \
    Src/UserManager/newuser.ui \

RC_ICONS = logo.ico
